#ifndef YOOHOO_XMPPCORE_IQPARSERFACTORY_H
#define YOOHOO_XMPPCORE_IQPARSERFACTORY_H

#include "xmppcore/stanzaparser.h"

namespace yoohoo_xmppcore {

class Iq;

class IqParser : public StanzaParser {
public:
	IqParser();
protected:
	Stanza* stanza();
	bool processText(QString path, QString text);
	bool setType(QString sType);

protected:
	Iq* _iq;
};

class IqParserFactory : public XmppParserFactory {
public:
	ProtocolKey protocolKey();
	XmppParser* createParser();
	
};

}

#endif
